From 5e30c5d986fec789e77476adae343746335039fd Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 28 Dec 2007 18:10:32 +0000 Subject: [PATCH] More default property value fixes svn path=/trunk/; revision=19278 --- ChangeLog | 2 ++ gtk/gtkprintoperation.c | 2 ++ gtk/gtkprogressbar.c | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b5e8fe6f6c..dbe7994a32 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2007-12-28 Matthias Clasen + * gtk/gtkprintoperation.c: + * gtk/gtkprogressbar.c: * gtk/gtkmessagedialog.c: * gtk/gtknotebook.c: * gtk/gtkprinter.c: diff --git a/gtk/gtkprintoperation.c b/gtk/gtkprintoperation.c index d08f255067..14b3a6a762 100644 --- a/gtk/gtkprintoperation.c +++ b/gtk/gtkprintoperation.c @@ -164,6 +164,8 @@ gtk_print_operation_init (GtkPrintOperation *operation) priv->unit = GTK_UNIT_PIXEL; appname = g_get_application_name (); + if (appname == NULL) + appname = ""; /* translators: this string is the default job title for print * jobs. %s gets replaced by the application name, %d gets replaced * by the job number. diff --git a/gtk/gtkprogressbar.c b/gtk/gtkprogressbar.c index 53b746bd64..babb6ac9ec 100644 --- a/gtk/gtkprogressbar.c +++ b/gtk/gtkprogressbar.c @@ -187,7 +187,7 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class) g_param_spec_string ("text", P_("Text"), P_("Text to be displayed in the progress bar"), - "%P %%", + NULL, GTK_PARAM_READWRITE)); /** -- 2.30.2